package com.zbec.mdrs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by fxl on 2015/10/17.
 */
public class GuaranteeVo extends RecordEntityVo implements Serializable {
    private String dbjgzzdm;//担保机构组织机构代码
    private String jrjgbm;//金融机构编码
    private String dbhth;//担保业务编号/合同号
    private String bdbrzzjgdm;//被担保人组织机构代码
    private String sjsj;//数据时间
    private String bz;//币种
    private String dbywzl;//担保业务种类
    private BigDecimal dbye;//担保余额
    private Date dbksrq;//担保开始日期
    private Date dbdqrq;//担保到期日期
    private String wjfl;//五级分类
    private BigDecimal dydcfsje;//当月代偿发生金额
    private BigDecimal dydbfsje;//当月担保发生额
    private Integer dyfsbs;//当月担保发生笔数
    private Integer zbbs;//在保笔数

    private String bzDesc;//币种
    private String dbywzlDesc;//担保业务种类
    private String wjflDesc;//五级分类

    public GuaranteeVo() {
    }

    public GuaranteeVo(Long id,String dbjgzzdm, String jrjgbm, String dbhth, String bdbrzzjgdm, String sjsj, String bz, String dbywzl,
                       BigDecimal dbye, Date dbksrq, Date dbdqrq, String wjfl, BigDecimal dydcfsje, BigDecimal dydbfsje,
                       Integer dyfsbs, Integer zbbs, String source, String recordStatus, String reportStatus,
                       String existError, String errorDesc, String missedField,Long recordId) {

        this.id = id;
        this.dbjgzzdm = dbjgzzdm;
        this.jrjgbm = jrjgbm;
        this.dbhth = dbhth;
        this.bdbrzzjgdm = bdbrzzjgdm;
        this.sjsj = sjsj;
        this.bz = bz;
        this.dbywzl = dbywzl;
        this.dbye = dbye;
        this.dbksrq = dbksrq;
        this.dbdqrq = dbdqrq;
        this.wjfl = wjfl;
        this.dydcfsje = dydcfsje;
        this.dydbfsje = dydbfsje;
        this.dyfsbs = dyfsbs;
        this.zbbs = zbbs;
        this.source = source;
        this.recordStatus = recordStatus;
        this.reportStatus = reportStatus;
        this.existError = existError;
        this.errorDesc = errorDesc;
        this.missedField = missedField;
        this.recordId = recordId;
    }

    public String getDbjgzzdm() {
        return dbjgzzdm;
    }

    public void setDbjgzzdm(String dbjgzzdm) {
        this.dbjgzzdm = dbjgzzdm;
    }

    public String getJrjgbm() {
        return jrjgbm;
    }

    public void setJrjgbm(String jrjgbm) {
        this.jrjgbm = jrjgbm;
    }

    public String getDbhth() {
        return dbhth;
    }

    public void setDbhth(String dbhth) {
        this.dbhth = dbhth;
    }

    public String getBdbrzzjgdm() {
        return bdbrzzjgdm;
    }

    public void setBdbrzzjgdm(String bdbrzzjgdm) {
        this.bdbrzzjgdm = bdbrzzjgdm;
    }

    public String getSjsj() {
        return sjsj;
    }

    public void setSjsj(String sjsj) {
        this.sjsj = sjsj;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getDbywzl() {
        return dbywzl;
    }

    public void setDbywzl(String dbywzl) {
        this.dbywzl = dbywzl;
    }

    public BigDecimal getDbye() {
        return dbye;
    }

    public void setDbye(BigDecimal dbye) {
        this.dbye = dbye;
    }

    public Date getDbksrq() {
        return dbksrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setDbksrq(Date dbksrq) {
        this.dbksrq = dbksrq;
    }

    public Date getDbdqrq() {
        return dbdqrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setDbdqrq(Date dbdqrq) {
        this.dbdqrq = dbdqrq;
    }

    public String getWjfl() {
        return wjfl;
    }

    public void setWjfl(String wjfl) {
        this.wjfl = wjfl;
    }

    public BigDecimal getDydcfsje() {
        return dydcfsje;
    }

    public void setDydcfsje(BigDecimal dydcfsje) {
        this.dydcfsje = dydcfsje;
    }

    public BigDecimal getDydbfsje() {
        return dydbfsje;
    }

    public void setDydbfsje(BigDecimal dydbfsje) {
        this.dydbfsje = dydbfsje;
    }

    public Integer getDyfsbs() {
        return dyfsbs;
    }

    public void setDyfsbs(Integer dyfsbs) {
        this.dyfsbs = dyfsbs;
    }

    public Integer getZbbs() {
        return zbbs;
    }

    public void setZbbs(Integer zbbs) {
        this.zbbs = zbbs;
    }

    public String getBzDesc() {
        return bzDesc;
    }

    public void setBzDesc(String bzDesc) {
        this.bzDesc = bzDesc;
    }

    public String getDbywzlDesc() {
        return dbywzlDesc;
    }

    public void setDbywzlDesc(String dbywzlDesc) {
        this.dbywzlDesc = dbywzlDesc;
    }

    public String getWjflDesc() {
        return wjflDesc;
    }

    public void setWjflDesc(String wjflDesc) {
        this.wjflDesc = wjflDesc;
    }
}
